Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI/CD: Add build GitHub Actions workflows #53

Merged
merged 77 commits into from
May 24, 2024

Conversation

patrickpa
Copy link
Contributor

@patrickpa patrickpa commented May 22, 2024

Description

This PR adds GitHub Actions workflows to automatically trigger build on PRs and merges (target branch commit from PR).

The workflows added here trigger only if any change is done on the source code:

...
paths: # we only include paths critical for building to avoid unnecessary runs
      - src/**
      - include/**
      - scripts/cmake/**
...

How was the PR tested?

  1. Add workflow for Linux build
  2. Add workflow for Windows build

Notes

  • The current version of the workflow only builds the software, it does not publish any artifact for user to use after the workflow is done.
  • The current version has the dependencies installation directly in the workflow. For future improvement, we can package it on Docker images and use the container option to only execute the software build.

Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
@patrickpa patrickpa marked this pull request as ready for review May 24, 2024 08:27
Copy link
Collaborator

@hoangtungdinh hoangtungdinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work, thanks @patrickpa

@hoangtungdinh hoangtungdinh merged commit 6f61b80 into develop May 24, 2024
3 checks passed
@hoangtungdinh hoangtungdinh deleted the patrick/add_cicd_actions_workflows branch May 24, 2024 08:45
hoangtungdinh pushed a commit that referenced this pull request Jun 4, 2024
hoangtungdinh pushed a commit that referenced this pull request Jun 5, 2024
Signed-off-by: Patrick Abrahão <[email protected]>

Signed-off-by: Patrick Abrahão <[email protected]>
hoangtungdinh pushed a commit that referenced this pull request Jun 5, 2024
Signed-off-by: Patrick Abrahão <[email protected]>

Signed-off-by: Patrick Abrahão <[email protected]>
hoangtungdinh pushed a commit that referenced this pull request Jun 5, 2024
Sign off:

Signed-off-by: Patrick Abrahão <[email protected]>

Signed-off-by: Patrick Abrahão <[email protected]>
pmai pushed a commit that referenced this pull request Jun 6, 2024
Signed-off-by: Patrick Abrahão <[email protected]>
Signed-off-by: Patrick Abrahão <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants